package categorizeBox;

public class Solution {
    public String categorizeBox(int length, int width, int height, int mass) {
        boolean Bulky=checkBulky(length,width,height);
        boolean Heavy=checkHeavy(mass);
        if(Bulky&&!Heavy){
            return "Bulky";
        }
        if(!Bulky&&Heavy){
            return "Heavy";
        }
        if(!Bulky&&!Heavy){
            return "Neither";
        }
        if(Bulky&&Heavy){
            return "Both";
        }
        return null;
    }
    private boolean checkBulky(int l,int w,int h){
        if(l>=10000||w>=10000||h>=10000){
            return true;
        }
        long num=l*w*h;
        if(num>=1000000000||num<0){
            return true;
        }
        return false;
    }
    private boolean checkHeavy(int mass){
        return mass>=100;
    }
    // Bulky Heavy Both Neither
}
